Calculates the angle (in radians) between the positive X-axis and a line that starts at the origin (0,0) and passes through the x and y coordinates you specify (x-number, y-number). The result is the angle in radians, in the range from -PI to PI.
Format: ATAN2 (x-number, y-number)
Arguments:
ΓÇó x-number: An x-coordinate value.
ΓÇó y-number: A y-coordinate value.
Example:
ATAN2 (1,1) returns .785 (p/4 radians).
Shows that the angle between the positive X-axis (1) and the line that passes through the x and y coordinates is .785 radians (PI/4), which is 45 degrees.